package org.framework.define.bean.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;


/**
 * The persistent class for the tbl_user_biz_account database table.
 * 
 */
@Entity
@Table(name="tbl_user_biz_account")
public class TblUserBizAccount implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true, nullable=false)
	private int id;

	@Column(name="biz_account", nullable=false, length=25)
	private String bizAccount;

	@Column(name="biz_state", nullable=false)
	private int bizState;

	@Column(name="biz_type", nullable=false)
	private int bizType;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time", nullable=false)
	private Date createTime;

	@Column(name="info_url", length=100)
	private String infoUrl;

	@Column(name="real_flag", nullable=false)
	private int realFlag;

	@Column(name="use_count", nullable=false)
	private int useCount;

	@Column(name="user_id", nullable=false, length=20)
	private String userId;
	
	@Transient
	private int level;
	
	@Transient
	private int blackCount;
	
	@Transient
	private int userType;
	
	@Transient
	private String address;
	
	@Transient
	private String qqNum;

	public int getLevel() {
		return level;
	}

	public TblUserBizAccount() {
	}
	
	public void setLevel(int level) {
		this.level = level;
	}

	public int getBlackCount() {
		return blackCount;
	}

	public void setBlackCount(int blackCount) {
		this.blackCount = blackCount;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getQqNum() {
		return qqNum;
	}

	public void setQqNum(String qqNum) {
		this.qqNum = qqNum;
	}
	
	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBizAccount() {
		return this.bizAccount;
	}

	public void setBizAccount(String bizAccount) {
		this.bizAccount = bizAccount;
	}

	public int getBizState() {
		return this.bizState;
	}

	public void setBizState(int bizState) {
		this.bizState = bizState;
	}

	public int getBizType() {
		return this.bizType;
	}

	public void setBizType(int bizType) {
		this.bizType = bizType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getInfoUrl() {
		return this.infoUrl;
	}

	public void setInfoUrl(String infoUrl) {
		this.infoUrl = infoUrl;
	}

	public int getRealFlag() {
		return this.realFlag;
	}

	public void setRealFlag(int realFlag) {
		this.realFlag = realFlag;
	}

	public int getUseCount() {
		return this.useCount;
	}

	public void setUseCount(int useCount) {
		this.useCount = useCount;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}